Autodesk Developer Network 2011
Autodesk
SlaveSymbolGeometry
§Slave symbol geometry e.g. same door type used in different walls
§Demonstrate access to family instance slave symbol geometry
§Uses SpatialFieldManager to paint the geometry
§Calls FamilyInstance methods to access geometry
§get_Geometry(), GetOriginalGeometry(), GetTransformed()
§Each geometry type is placed in a different view

| Open C:\a\lib\revit\2012\SDK\Samples\GeometryAPI\SlaveSymbolGeometry\SlaveSymbolGeometry.rvt.
| RvtSamples > GeometryAPI > SlaveSymbolGeometry.
| Q: Why do two different FamilySymbols have the same name in my Autodesk Revit document? A: In the Autodesk Revit API, Symbols represent geometry. Consider that two window instances of the same type are inserted into walls of different types. Now, these two window instances refer to the same FamilySymbol and count as being of the same type, but it is clear that they cannot possibly use the same symbol’s geometry, since inserting them into walls of different thickness changes each window’s geometry to match. To track individual instances of FamilySymbols, Autodesk Revit employs a “master” and “slave” functionality with “slave” FamilySymbols localizing their geometry to surrounding conditions according to the “master” FamilySymbol template. If there is no door instance in a model, there is only one “master” FamilySymbol for a 36”x84” door, but if a door is inserted, Autodesk Revit will create a “slave” FamilySymbol for the new 36”x84” Door. Subsequent doors placed in the model will cause Autodesk Revit to generate additional “slave” FamilySymbols.